<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Person{
	
	private $id;
	private $firstname;
	private $lastname;
	private $description;
		
	public function Person($params){
		$this->id = $params[ID];
		$this->firstname = $params[FIRSTNAME];
		$this->lastname = $params[LASTNAME];
		$this->description = $params[DESCRIPTION];
	}
	
	public function getID(){
		return $this->id;
	}
	public function getFirstname(){
		return $this->firstname;
	}
	public function getLastname(){
		return $this->lastname;
	}
	public function getDescription(){
		return $this->description;
	}
}
